var user;
if ($.cookie("user_id")) {
    user = "<a href='/Bookcase/index/fromaid/"+$.cookie("admin_id")+".html' class='fl mybook'>我的书架</a>";
    user += "<span class='right fr'>";
    user += "<a href='/Myinfo/index/fromaid/"+$.cookie("admin_id")+".html' class='mybook'>" + $.cookie("pen_name") +"[" + $.cookie("user_id") + "]" +"</a>";
    user += "<a href='/Myinfo/index/fromaid/"+$.cookie("admin_id")+".html' ><img style='border-radius:10px' src='" + $.cookie("portrait") + "'/></a>";
    user += "</span>";
    document.write(user);
}